

package com.yungu.swift.assets.driver.model.dto;

import com.yungu.swift.base.model.BaseDto;

import java.util.Date;

/**
 * @author Zerrion
 * @version 1.0
 * @description 司机里程统计表
 * @date 2017/10/26 11:32
 */
public class DriverStatusCycleDto extends BaseDto {
    /**
     * 空驶
     */
    public static final int EMPTY_RIDE = 1;
    /**
     * 空载
     */
    public static final int EMPTY_CARRY = 2;
    /**
     * 服务
     */
    public static final int SERVICE = 3;
    /**
     * 下班
     */
    public static final int OFF_WORK = 4;
    /**
     * 离线
     */
    public static final int OFF_LINE = 5;

    /**
     * 操作-出车
     */
    public static final int ACTION_ON_WORK = 1;

    /**
     * 操作-出发
     */
    public static final int ACTION_LEAVE = 2;

    /**
     * 操作-上车
     */
    public static final int ACTION_RIDE = 3;

    /**
     * 操作-服务结束
     */
    public static final int ACTION_SERVICE_OVER = 4;

    /**
     * 操作-收车
     */
    public static final int ACTION_OFF_WORK = 5;

    /**
     * 操作-在线
     */
    public static final int ACTION_ON_LINE = 6;

    /**
     * 操作-离线
     */
    public static final int ACTION_OFF_LINE = 7;

    /**
     * 操作-分割
     */
    public static final int ACTION_SPLIT = 8;

    /**
     * 操作-取消
     */
    public static final int ACTION_CANCEL = 9;


    /**
     * 未激活
     */
    public static final int ACTIVE_OFF = 1;

    /**
     * 已激活
     */
    public static final int ACTIVE_ON = 2;

    /**
     * 代理商uuid
     **/
    private String agentUuid;
    /**
     * 公司uuid
     **/
    private String companyUuid;
    /**
     * 司机uuid
     **/
    private String driverUuid;
    /**
     * 车辆uuid
     **/
    private String carUuid;
    /**
     * 创建日期。yyyy-MM-dd
     **/
    private Date recordDate;
    /**
     * 里程状态。1空驶，2空载，3行程中
     **/
    private Integer status;
    /**
     * 里程(km)
     **/
    private Double mileage;
    /**
     * 前一个订单号
     **/
    private String prevOrderUuid;
    /**
     * 当前订单号
     **/
    private String currentOrderUuid;
    /**
     * 上一个状态主键ID
     **/
    private String prevStatusUuid;
    /**
     * 当天司机排序号
     **/
    private Integer sort;
    /**
     * 状态持续时长（秒）
     **/
    private Integer statusTime;
    /**
     * 状态开始时间
     **/
    private Date startTime;
    /**
     * 状态结束时间
     **/
    private Date endTime;
    /**
     * 激活状态（1：未激活，2：已激活）
     **/
    private Integer active;

    /**
     * 操作动作（1：出车，2：出发，3：上车，4：服务结束，5：收车，6：在线，7：离线，8：跨天分割，9：取消）
     **/
    private Integer action;

    /**
     * 鹰眼统计的里程
     */
    private Double trackMileage;


    public Double getTrackMileage() {
        return trackMileage;
    }

    public void setTrackMileage(Double trackMileage) {
        this.trackMileage = trackMileage;
    }

    public String getAgentUuid() {
        return agentUuid;
    }

    public void setAgentUuid(String agentUuid) {
        this.agentUuid = agentUuid;
    }

    public String getCompanyUuid() {
        return companyUuid;
    }

    public void setCompanyUuid(String companyUuid) {
        this.companyUuid = companyUuid;
    }

    public String getDriverUuid() {
        return driverUuid;
    }

    public void setDriverUuid(String driverUuid) {
        this.driverUuid = driverUuid;
    }

    public String getCarUuid() {
        return carUuid;
    }

    public void setCarUuid(String carUuid) {
        this.carUuid = carUuid;
    }

    public Date getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getMileage() {
        return mileage;
    }

    public void setMileage(Double mileage) {
        this.mileage = mileage;
    }

    public String getPrevOrderUuid() {
        return prevOrderUuid;
    }

    public void setPrevOrderUuid(String prevOrderUuid) {
        this.prevOrderUuid = prevOrderUuid;
    }

    public String getCurrentOrderUuid() {
        return currentOrderUuid;
    }

    public void setCurrentOrderUuid(String currentOrderUuid) {
        this.currentOrderUuid = currentOrderUuid;
    }

    public String getPrevStatusUuid() {
        return prevStatusUuid;
    }

    public void setPrevStatusUuid(String prevStatusUuid) {
        this.prevStatusUuid = prevStatusUuid;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatusTime() {
        return statusTime;
    }

    public void setStatusTime(Integer statusTime) {
        this.statusTime = statusTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getActive() {
        return active;
    }

    public void setActive(Integer active) {
        this.active = active;
    }

    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }
}